<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>perlwin32 - Perl under Windows - Perldoc Browser</title>
    <link rel="search" href="https://perldoc.perl.org/opensearch.xml" type="application/opensearchdescription+xml" title="Perldoc Browser">
    <link rel="canonical" href="https://perldoc.perl.org/perlwin32">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/stackoverflow-light.min.css" integrity="sha512-cG1IdFxqipi3gqLmksLtuk13C+hBa57a6zpWxMeoY3Q9O6ooFxq50DayCdm0QrDgZjMUn23z/0PMZlgft7Yp5Q==" crossorigin="anonymous" />
    <style>
      body {
        background: #f4f4f5;
        color: #020202;
      }
      .navbar-dark {
        background-image: -webkit-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: -o-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: linear-gradient(to bottom, #005f85 0, #002e49 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff005f85', endColorstr='#ff002e49', GradientType=0);
        background-repeat: repeat-x;
      }
      .navbar-dark .navbar-nav .nav-link,
      .navbar-dark .navbar-nav .nav-link:focus { color: #fff }
      .navbar-dark .navbar-nav .nav-link:hover { color: #ffef68 }
      #wrapperlicious {
        margin: 0 auto;
        font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
        font-weight: normal;
        line-height: 1.5em;
        margin: 0;
        padding: 0;
      }
      #wrapperlicious h1 { font-size: 1.5em }
      #wrapperlicious h2 { font-size: 1.3em }
      #wrapperlicious h3 { font-size: 1.1em }
      #wrapperlicious h4 { font-size: 0.9em }
      #wrapperlicious h1, #wrapperlicious h2, #wrapperlicious h3,
      #wrapperlicious h4, #wrapperlicious dt {
        color: #020202;
        margin-top: 1em;
        margin-bottom: 1em;
        position: relative;
        font-weight: bold;
      }
      #wrapperlicious a { color: inherit; text-decoration: underline }
      #wrapperlicious #toc { text-decoration: none }
      #wrapperlicious a:hover { color: #2a2a2a }
      #wrapperlicious a img { border: 0 }
      #wrapperlicious :not(pre) > code {
        color: inherit;
        background-color: rgba(0, 0, 0, 0.04);
        border-radius: 3px;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        padding: 0.3em;
      }
      #wrapperlicious dd {
        margin: 0;
        margin-left: 2em;
      }
      #wrapperlicious dt {
        color: #2a2a2a;
        font-weight: bold;
        margin-left: 0.9em;
      }
      #wrapperlicious p {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious li > p {
        margin-bottom: 0;
        margin-top: 0;
      }
      #wrapperlicious pre {
        border: 1px solid #c1c1c1;
        border-radius: 3px;
        font: 100% Consolas, Menlo, Monaco, monospace;
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious pre > code {
        display: block;
        background-color: #f6f6f6;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        line-height: 1.5em;
        text-align: left;
        white-space: pre;
        padding: 1em;
      }
      #wrapperlicious dl, #wrapperlicious ol, #wrapperlicious ul {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious ul {
        list-style-type: square;
      }
      #wrapperlicious ul ul {
        margin-bottom: 0px;
        margin-top: 0px;
      }
      #footer {
        font-size: 0.8em;
        padding-top: 0.5em;
        text-align: center;
      }
      #more {
        display: inline;
        font-size: 0.8em;
      }
      #perldocdiv {
        background-color: #fff;
        border: 1px solid #c1c1c1;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        margin-left: auto;
        margin-right: auto;
        padding: 3em;
        padding-top: 1em;
        max-width: 960px;
      }
      #moduleversion { float: right }
      #wrapperlicious .leading-notice {
        font-style: italic;
        padding-left: 1em;
        margin-top: 1em;
        margin-bottom: 1em;
      }
      #wrapperlicious .permalink {
        display: none;
        left: -0.75em;
        position: absolute;
        padding-right: 0.25em;
        text-decoration: none;
      }
      #wrapperlicious h1:hover .permalink, #wrapperlicious h2:hover .permalink,
      #wrapperlicious h3:hover .permalink, #wrapperlicious h4:hover .permalink,
      #wrapperlicious dt:hover .permalink {
        display: block;
      }
    </style>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-KVNWBNT5FB"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', 'G-KVNWBNT5FB');
      gtag('config', 'UA-50555-3');
    </script>
  </head>
  <body>
    <nav class="navbar navbar-expand-md navbar-dark bg-dark justify-content-between">
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <a class="navbar-brand" href="https://perldoc.perl.org/">Perldoc Browser</a>
  <div class="collapse navbar-collapse" id="navbarNav">
    <ul class="navbar-nav mr-auto">
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="perlwin32.html#" id="dropdownlink-stable" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">5.35.0</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-stable">
          <a class="dropdown-item" href="https://perldoc.perl.org/perlwin32">Latest</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.2/perlwin32">5.38.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.1/perlwin32">5.38.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0/perlwin32">5.38.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.3/perlwin32">5.36.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.2/perlwin32">5.36.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.1/perlwin32">5.36.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.0/perlwin32">5.36.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.3/perlwin32">5.34.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.2/perlwin32">5.34.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.1/perlwin32">5.34.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.0/perlwin32">5.34.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.1/perlwin32">5.32.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.0/perlwin32">5.32.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.3/perlwin32">5.30.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.2/perlwin32">5.30.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.1/perlwin32">5.30.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.0/perlwin32">5.30.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.3/perlwin32">5.28.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.2/perlwin32">5.28.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.1/perlwin32">5.28.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.0/perlwin32">5.28.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.3/perlwin32">5.26.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.2/perlwin32">5.26.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.1/perlwin32">5.26.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.0/perlwin32">5.26.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.4/perlwin32">5.24.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.3/perlwin32">5.24.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.2/perlwin32">5.24.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.1/perlwin32">5.24.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.0/perlwin32">5.24.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.4/perlwin32">5.22.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.3/perlwin32">5.22.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.2/perlwin32">5.22.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.1/perlwin32">5.22.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.0/perlwin32">5.22.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.3/perlwin32">5.20.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.2/perlwin32">5.20.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.1/perlwin32">5.20.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.0/perlwin32">5.20.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.4/perlwin32">5.18.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.3/perlwin32">5.18.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.2/perlwin32">5.18.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.1/perlwin32">5.18.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.0/perlwin32">5.18.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.3/perlwin32">5.16.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.2/perlwin32">5.16.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.1/perlwin32">5.16.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.0/perlwin32">5.16.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.4/perlwin32">5.14.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.3/perlwin32">5.14.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.2/perlwin32">5.14.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.1/perlwin32">5.14.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.0/perlwin32">5.14.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.5/perlwin32">5.12.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.4/perlwin32">5.12.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.3/perlwin32">5.12.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.2/perlwin32">5.12.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.1/perlwin32">5.12.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.0/perlwin32">5.12.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.1/perlwin32">5.10.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.0/perlwin32">5.10.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.9/perlwin32">5.8.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.8/perlwin32">5.8.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.7/perlwin32">5.8.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.6/perlwin32">5.8.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.5/perlwin32">5.8.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.4/perlwin32">5.8.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.3/perlwin32">5.8.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.2/perlwin32">5.8.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.1/perlwin32">5.8.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.0/perlwin32">5.8.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.2/perlwin32">5.6.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.1/perlwin32">5.6.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.0/perlwin32">5.6.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_04/perlwin32">5.005_04</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_03/perlwin32">5.005_03</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_02/perlwin32">5.005_02</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_01/perlwin32">5.005_01</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005/perlwin32">5.005</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="perlwin32.html#" id="dropdownlink-dev" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dev</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-dev">
          <a class="dropdown-item" href="https://perldoc.perl.org/blead/perlwin32">blead</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.6/perlwin32">5.39.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.5/perlwin32">5.39.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.4/perlwin32">5.39.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.3/perlwin32">5.39.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.2/perlwin32">5.39.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.1/perlwin32">5.39.1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC2/perlwin32">5.38.0-RC2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC1/perlwin32">5.38.0-RC1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.11/perlwin32">5.37.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.10/perlwin32">5.37.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.9/perlwin32">5.37.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.8/perlwin32">5.37.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.7/perlwin32">5.37.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.6/perlwin32">5.37.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.5/perlwin32">5.37.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.4/perlwin32">5.37.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.3/perlwin32">5.37.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.2/perlwin32">5.37.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.1/perlwin32">5.37.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.0/perlwin32">5.37.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.11/perlwin32">5.35.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.10/perlwin32">5.35.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.9/perlwin32">5.35.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.8/perlwin32">5.35.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.7/perlwin32">5.35.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.6/perlwin32">5.35.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.5/perlwin32">5.35.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.4/perlwin32">5.35.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.3/perlwin32">5.35.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.2/perlwin32">5.35.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.1/perlwin32">5.35.1</a>
          <a class="dropdown-item active" href="perlwin32.html">5.35.0</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="perlwin32.html#" id="dropdownlink-nav" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Documentation</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-nav">
          <a class="dropdown-item" href="perl.html">Perl</a>
          <a class="dropdown-item" href="perlintro.html">Intro</a>
          <a class="dropdown-item" href="perl.html#Tutorials">Tutorials</a>
          <a class="dropdown-item" href="perlfaq.html">FAQs</a>
          <a class="dropdown-item" href="perl.html#Reference-Manual">Reference</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlop.html">Operators</a>
          <a class="dropdown-item" href="functions.html">Functions</a>
          <a class="dropdown-item" href="variables.html">Variables</a>
          <a class="dropdown-item" href="modules.html">Modules</a>
          <a class="dropdown-item" href="perlutil.html">Utilities</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlcommunity.html">Community</a>
          <a class="dropdown-item" href="perlhist.html">History</a>
        </div>
      </li>
    </ul>
    <ul class="navbar-nav">
      <script>
        function set_expand (expand) {
          var perldocdiv = document.getElementById('perldocdiv');
          var width = window.getComputedStyle(perldocdiv).getPropertyValue('max-width');
          var expanded = (width == '' || width == 'none') ? true : false;
          if (expand === null) {
            expand = !expanded;
          }
          if ((expand && !expanded) || (!expand && expanded)) {
            perldocdiv.style.setProperty('max-width', expand ? 'none' : '960px');
            var button_classlist = document.getElementById('content-expand-button').classList;
            if (expand) {
              button_classlist.add('btn-light');
              button_classlist.remove('btn-outline-light');
            } else {
              button_classlist.add('btn-outline-light');
              button_classlist.remove('btn-light');
            }
          }
          return expand;
        }
        function toggle_expand () {
          var expand = set_expand(null);
          document.cookie = 'perldoc_expand=' + (expand ? 1 : 0) + '; path=/; expires=Tue, 19 Jan 2038 03:14:07 UTC';
        }
        function read_expand () {
          return document.cookie.split(';').some(function (item) { return item.indexOf('perldoc_expand=1') >= 0 });
        }
        if (document.readyState === 'loading') {
          document.addEventListener('DOMContentLoaded', function () {
            if (read_expand()) {
              set_expand(true);
            }
          });
        } else if (read_expand()) {
          set_expand(true);
        }
      </script>
      <button id="content-expand-button" type="button" class="btn btn-outline-light d-none d-lg-inline-block mr-2" onclick="toggle_expand()">Expand</button>
    <ul>
    <form class="form-inline" method="get" action="https://perldoc.perl.org/5.35.0/search">
      <input class="form-control mr-3" type="search" name="q" placeholder="Search" aria-label="Search">
    </form>
  </div>
</nav>

    <div id="wrapperlicious" class="container-fluid">
      <div id="perldocdiv">
        <div id="links">
          <a href="perlwin32.html">perlwin32</a>
          <div id="more">
            (<a href="perlwin32.txt">source</a>,
            <a href="https://metacpan.org/pod/perlwin32">CPAN</a>)
          </div>
        </div>
        <div class="leading-notice">
          You are viewing the version of this documentation from Perl 5.35.0.
            This is a development version of Perl.
        </div>
        <h1><a id="toc">CONTENTS</a></h1>
                  <ul>
              <li>
                <a class="text-decoration-none" href="perlwin32.html#NAME">NAME</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlwin32.html#SYNOPSIS">SYNOPSIS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlwin32.html#DESCRIPTION">DESCRIPTION</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perlwin32.html#Setting-Up-Perl-on-Windows">Setting Up Perl on Windows</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlwin32.html#Building">Building</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlwin32.html#Testing-Perl-on-Windows">Testing Perl on Windows</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlwin32.html#Installation-of-Perl-on-Windows">Installation of Perl on Windows</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlwin32.html#Usage-Hints-for-Perl-on-Windows">Usage Hints for Perl on Windows</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlwin32.html#Running-Perl-Scripts">Running Perl Scripts</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlwin32.html#Miscellaneous-Things">Miscellaneous Things</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perlwin32.html#BUGS-AND-CAVEATS">BUGS AND CAVEATS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlwin32.html#ACKNOWLEDGEMENTS">ACKNOWLEDGEMENTS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlwin32.html#AUTHORS">AUTHORS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlwin32.html#SEE-ALSO">SEE ALSO</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perlwin32.html#HISTORY">HISTORY</a>
              </li>
          </ul>

      <h1 id="NAME"><a class="permalink" href="perlwin32.html#NAME">#</a>NAME</h1>

<p>perlwin32 - Perl under Windows</p>

<h1 id="SYNOPSIS"><a class="permalink" href="perlwin32.html#SYNOPSIS">#</a>SYNOPSIS</h1>

<p>These are instructions for building Perl under Windows 2000 and later.</p>

<h1 id="DESCRIPTION"><a class="permalink" href="perlwin32.html#DESCRIPTION">#</a>DESCRIPTION</h1>

<p>Before you start, you should glance through the README file found in the top-level directory to which the Perl distribution was extracted. Make sure you read and understand the terms under which this software is being distributed.</p>

<p>Also make sure you read <a href="perlwin32.html#BUGS-AND-CAVEATS">&quot;BUGS AND CAVEATS&quot;</a> below for the known limitations of this port.</p>

<p>The INSTALL file in the perl top-level has much information that is only relevant to people building Perl on Unix-like systems. In particular, you can safely ignore any information that talks about &quot;Configure&quot;.</p>

<p>You may also want to look at one other option for building a perl that will work on Windows: the README.cygwin file, which give a different set of rules to build a perl for Windows. This method will probably enable you to build a more Unix-compatible perl, but you will also need to download and use various other build-time and run-time support software described in that file.</p>

<p>This set of instructions is meant to describe a so-called &quot;native&quot; port of Perl to the Windows platform. This includes both 32-bit and 64-bit Windows operating systems. The resulting Perl requires no additional software to run (other than what came with your operating system). Currently, this port is capable of using one of the following compilers on the Intel x86 architecture:</p>

<pre><code class="plaintext">Microsoft Visual C++    version 6.0 or later
Intel C++ Compiler      (experimental)
Gcc by mingw.org        gcc version 3.4.5-5.3.0
Gcc by mingw-w64.org    gcc version 4.4.3 or later</code></pre>

<p>Note that the last two of these are actually competing projects both delivering complete gcc toolchain for MS Windows:</p>

<dl>

<dt id="http://mingw.org"><a class="permalink" href="perlwin32.html#http://mingw.org">#</a><a id="http"></a><a id="http:-mingw.org"></a><a href="http://mingw.org">http://mingw.org</a></dt>
<dd>

<p>Delivers gcc toolchain targeting 32-bit Windows platform.</p>

</dd>
<dt id="http://mingw-w64.org"><a class="permalink" href="perlwin32.html#http://mingw-w64.org">#</a><a id="http1"></a><a id="http:-mingw-w64.org"></a><a href="http://mingw-w64.org">http://mingw-w64.org</a></dt>
<dd>

<p>Delivers gcc toolchain targeting both 64-bit Windows and 32-bit Windows platforms (despite the project name &quot;mingw-w64&quot; they are not only 64-bit oriented). They deliver the native gcc compilers and cross-compilers that are also supported by perl&#39;s makefile.</p>

</dd>
</dl>

<p>The Microsoft Visual C++ compilers are also now being given away free. They are available as &quot;Visual C++ Toolkit 2003&quot; or &quot;Visual C++ 2005-2019 Express [or Community, from 2017] Edition&quot; (and also as part of the &quot;.NET Framework SDK&quot;) and are the same compilers that ship with &quot;Visual C++ .NET 2003 Professional&quot; or &quot;Visual C++ 2005-2019 Professional&quot; respectively.</p>

<p>This port can also be built on IA64/AMD64 using:</p>

<pre><code class="plaintext">Microsoft Platform SDK	Nov 2001 (64-bit compiler and tools)
MinGW64 compiler (gcc version 4.4.3 or later)</code></pre>

<p>The Windows SDK can be downloaded from <a href="https://developer.microsoft.com/windows/downloads/sdk-archive">https://developer.microsoft.com/windows/downloads/sdk-archive</a>. The MinGW64 compiler is available at <a href="http://mingw-w64.org">http://mingw-w64.org</a>. The latter is actually a cross-compiler targeting Win64. There&#39;s also a trimmed down compiler (no java, or gfortran) suitable for building perl available at: <a href="http://strawberryperl.com/package/kmx/64_gcctoolchain/">http://strawberryperl.com/package/kmx/64_gcctoolchain/</a></p>

<p>NOTE: If you&#39;re using a 32-bit compiler to build perl on a 64-bit Windows operating system, then you should set the WIN64 environment variable to &quot;undef&quot;. Also, the trimmed down compiler only passes tests when USE_ITHREADS *= define (as opposed to undef) and when the CFG *= Debug line is commented out.</p>

<p>This port fully supports MakeMaker (the set of modules that is used to build extensions to perl). Therefore, you should be able to build and install most extensions found in the CPAN sites. See <a href="perlwin32.html#Usage-Hints-for-Perl-on-Windows">&quot;Usage Hints for Perl on Windows&quot;</a> below for general hints about this.</p>

<h2 id="Setting-Up-Perl-on-Windows"><a class="permalink" href="perlwin32.html#Setting-Up-Perl-on-Windows">#</a><a id="Setting"></a>Setting Up Perl on Windows</h2>

<dl>

<dt id="Make"><a class="permalink" href="perlwin32.html#Make">#</a>Make</dt>
<dd>

<p>You need a &quot;make&quot; program to build the sources. If you are using Visual C++ or the Windows SDK tools, you can use nmake supplied with Visual C++ or Windows SDK. You may also use gmake instead of nmake. Builds using gcc need gmake. nmake is not supported for gcc builds. Parallel building is only supported with gmake, not nmake.</p>

</dd>
<dt id="Command-Shell"><a class="permalink" href="perlwin32.html#Command-Shell">#</a><a id="Command"></a>Command Shell</dt>
<dd>

<p>Use the default &quot;cmd&quot; shell that comes with Windows. Some versions of the popular 4DOS/NT shell have incompatibilities that may cause you trouble. If the build fails under that shell, try building again with the cmd shell.</p>

<p>Make sure the path to the build directory does not contain spaces. The build usually works in this circumstance, but some tests will fail.</p>

</dd>
<dt id="Microsoft-Visual-C++"><a class="permalink" href="perlwin32.html#Microsoft-Visual-C++">#</a><a id="Microsoft"></a><a id="Microsoft-Visual-C"></a>Microsoft Visual C++</dt>
<dd>

<p>The nmake that comes with Visual C++ will suffice for building. Visual C++ requires that certain things be set up in the console before Visual C++ will successfully run. To make a console box be able to run the C compiler, you will need to beforehand, run <code>vcvarsall.bat x86</code> to compile for x86-32 and for x86-64 <code>vcvarsall.bat amd64</code>. On a typical install of a Microsoft C++ compiler product, these batch files will already be in your <code>PATH</code> environment variable so you may just type them without an absolute path into your console. If you need to find the absolute path to the batch file, it is usually found somewhere like C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC. With some newer Microsoft C products (released after ~2004), the installer will put a shortcut in the start menu to launch a new console window with the console already set up for your target architecture (x86-32 or x86-64 or IA64). With the newer compilers, you may also use the older batch files if you choose so.</p>

</dd>
<dt id="Microsoft-Visual-C++-2008-2019-Express/Community-Edition"><a class="permalink" href="perlwin32.html#Microsoft-Visual-C++-2008-2019-Express/Community-Edition">#</a><a id="Microsoft1"></a><a id="Microsoft-Visual-C-2008-2019-Express-Community-Edition"></a>Microsoft Visual C++ 2008-2019 Express/Community Edition</dt>
<dd>

<p>These free versions of Visual C++ 2008-2019 Professional contain the same compilers and linkers that ship with the full versions, and also contain everything necessary to build Perl, rather than requiring a separate download of the Windows SDK like previous versions did.</p>

<p>These packages can be downloaded by searching in the Download Center at <a href="https://www.microsoft.com/downloads/search.aspx?displaylang=en">https://www.microsoft.com/downloads/search.aspx?displaylang=en</a>. (Providing exact links to these packages has proven a pointless task because the links keep on changing so often.)</p>

<p>Install Visual C++ 2008-2019 Express/Community, then setup your environment using, e.g.</p>

<pre><code class="plaintext">C:\Program Files\Microsoft Visual Studio 12.0\Common7\Tools\vsvars32.bat</code></pre>

<p>(assuming the default installation location was chosen).</p>

<p>Perl should now build using the win32/Makefile. You will need to edit that file to set CCTYPE to one of MSVC90-MSVC142 first.</p>

</dd>
<dt id="Microsoft-Visual-C++-2005-Express-Edition"><a class="permalink" href="perlwin32.html#Microsoft-Visual-C++-2005-Express-Edition">#</a><a id="Microsoft2"></a><a id="Microsoft-Visual-C-2005-Express-Edition"></a>Microsoft Visual C++ 2005 Express Edition</dt>
<dd>

<p>This free version of Visual C++ 2005 Professional contains the same compiler and linker that ship with the full version, but doesn&#39;t contain everything necessary to build Perl.</p>

<p>You will also need to download the &quot;Windows SDK&quot; (the &quot;Core SDK&quot; and &quot;MDAC SDK&quot; components are required) for more header files and libraries.</p>

<p>These packages can both be downloaded by searching in the Download Center at <a href="http://www.microsoft.com/downloads/search.aspx?displaylang=en">http://www.microsoft.com/downloads/search.aspx?displaylang=en</a>. (Providing exact links to these packages has proven a pointless task because the links keep on changing so often.)</p>

<p>Try to obtain the latest version of the Windows SDK. Sometimes these packages contain a particular Windows OS version in their name, but actually work on other OS versions too. For example, the &quot;Windows Server 2003 R2 Platform SDK&quot; also runs on Windows XP SP2 and Windows 2000.</p>

<p>Install Visual C++ 2005 first, then the Platform SDK. Setup your environment as follows (assuming default installation locations were chosen):</p>

<pre><code>SET PlatformSDKDir=C:\Program Files\Microsoft Platform SDK

SET PATH=%SystemRoot%\system32;%SystemRoot%;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program Files\Microsoft Visual Studio 8\VC\BIN;C:\Program Files\Microsoft Visual Studio 8\Common7\Tools;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 8\VC\VCPackages;%PlatformSDKDir%\Bin

SET INCLUDE=C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE;%PlatformSDKDir%\include

SET LIB=C:\Program Files\Microsoft Visual Studio 8\VC\LIB;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib;%PlatformSDKDir%\lib

SET LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727</code></pre>

<p>(The PlatformSDKDir might need to be set differently depending on which version you are using. Earlier versions installed into &quot;C:\Program Files\Microsoft SDK&quot;, while the latest versions install into version-specific locations such as &quot;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2&quot;.)</p>

<p>Perl should now build using the win32/Makefile. You will need to edit that file to set</p>

<pre><code class="plaintext">CCTYPE = MSVC80</code></pre>

<p>and to set CCHOME, CCINCDIR and CCLIBDIR as per the environment setup above.</p>

</dd>
<dt id="Microsoft-Visual-C++-Toolkit-2003"><a class="permalink" href="perlwin32.html#Microsoft-Visual-C++-Toolkit-2003">#</a><a id="Microsoft3"></a><a id="Microsoft-Visual-C-Toolkit-2003"></a>Microsoft Visual C++ Toolkit 2003</dt>
<dd>

<p>This free toolkit contains the same compiler and linker that ship with Visual C++ .NET 2003 Professional, but doesn&#39;t contain everything necessary to build Perl.</p>

<p>You will also need to download the &quot;Platform SDK&quot; (the &quot;Core SDK&quot; and &quot;MDAC SDK&quot; components are required) for header files, libraries and rc.exe, and &quot;.NET Framework SDK&quot; for more libraries and nmake.exe. Note that the latter (which also includes the free compiler and linker) requires the &quot;.NET Framework Redistributable&quot; to be installed first. This can be downloaded and installed separately, but is included in the &quot;Visual C++ Toolkit 2003&quot; anyway.</p>

<p>These packages can all be downloaded by searching in the Download Center at <a href="https://www.microsoft.com/downloads/search.aspx?displaylang=en">https://www.microsoft.com/downloads/search.aspx?displaylang=en</a>. (Providing exact links to these packages has proven a pointless task because the links keep on changing so often.)</p>

<p>Try to obtain the latest version of the Windows SDK. Sometimes these packages contain a particular Windows OS version in their name, but actually work on other OS versions too. For example, the &quot;Windows Server 2003 R2 Platform SDK&quot; also runs on Windows XP SP2 and Windows 2000.</p>

<p>Install the Toolkit first, then the Platform SDK, then the .NET Framework SDK. Setup your environment as follows (assuming default installation locations were chosen):</p>

<pre><code>SET PlatformSDKDir=C:\Program Files\Microsoft Platform SDK

SET PATH=%SystemRoot%\system32;%SystemRoot%;C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin;%PlatformSDKDir%\Bin;C:\Program Files\Microsoft.NET\SDK\v1.1\Bin

SET INCLUDE=C:\Program Files\Microsoft Visual C++ Toolkit 2003\include;%PlatformSDKDir%\include;C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include

SET LIB=C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib;%PlatformSDKDir%\lib;C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib</code></pre>

<p>(The PlatformSDKDir might need to be set differently depending on which version you are using. Earlier versions installed into &quot;C:\Program Files\Microsoft SDK&quot;, while the latest versions install into version-specific locations such as &quot;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2&quot;.)</p>

<p>Several required files will still be missing:</p>

<ul>

<li><p>cvtres.exe is required by link.exe when using a .res file. It is actually installed by the .NET Framework SDK, but into a location such as the following:</p>

<pre><code class="plaintext">C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322</code></pre>

<p>Copy it from there to %PlatformSDKDir%\Bin</p>

</li>
<li><p>lib.exe is normally used to build libraries, but link.exe with the /lib option also works, so change win32/config.vc to use it instead:</p>

<p>Change the line reading:</p>

<pre><code class="plaintext">ar=&#39;lib&#39;</code></pre>

<p>to:</p>

<pre><code class="plaintext">ar=&#39;link /lib&#39;</code></pre>

<p>It may also be useful to create a batch file called lib.bat in C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin containing:</p>

<pre><code>@echo off
link /lib %*</code></pre>

<p>for the benefit of any naughty C extension modules that you might want to build later which explicitly reference &quot;lib&quot; rather than taking their value from $Config{ar}.</p>

</li>
<li><p>setargv.obj is required to build perlglob.exe (and perl.exe if the USE_SETARGV option is enabled). The Platform SDK supplies this object file in source form in %PlatformSDKDir%\src\crt. Copy setargv.c, cruntime.h and internal.h from there to some temporary location and build setargv.obj using</p>

<pre><code class="plaintext">cl.exe /c /I. /D_CRTBLD setargv.c</code></pre>

<p>Then copy setargv.obj to %PlatformSDKDir%\lib</p>

<p>Alternatively, if you don&#39;t need perlglob.exe and don&#39;t need to enable the USE_SETARGV option then you can safely just remove all mention of $(GLOBEXE) from win32/Makefile and setargv.obj won&#39;t be required anyway.</p>

</li>
</ul>

<p>Perl should now build using the win32/Makefile. You will need to edit that file to set</p>

<pre><code class="plaintext">CCTYPE = MSVC70FREE</code></pre>

<p>and to set CCHOME, CCINCDIR and CCLIBDIR as per the environment setup above.</p>

</dd>
<dt id="Microsoft-Platform-SDK-64-bit-Compiler"><a class="permalink" href="perlwin32.html#Microsoft-Platform-SDK-64-bit-Compiler">#</a><a id="Microsoft4"></a>Microsoft Platform SDK 64-bit Compiler</dt>
<dd>

<p>The nmake that comes with the Platform SDK will suffice for building Perl. Make sure you are building within one of the &quot;Build Environment&quot; shells available after you install the Platform SDK from the Start Menu.</p>

</dd>
<dt id="GCC"><a class="permalink" href="perlwin32.html#GCC">#</a>GCC</dt>
<dd>

<p>Perl can be compiled with gcc from MinGW (version 3.4.5 or later) or from MinGW64 (version 4.4.3 or later). It can be downloaded here:</p>

<p><a href="http://www.mingw.org/">http://www.mingw.org/</a> <a href="http://www.mingw-w64.org/">http://www.mingw-w64.org/</a></p>

<p>You also need gmake. Usually it comes with MinGW but its executable may have a different name, such as mingw32-make.exe.</p>

<p>Note that the MinGW build currently fails with version 6.3.0 or later.</p>

<p>Note also that the C++ mode build currently fails with MinGW 3.4.5 and 4.7.2 or later, and with MinGW64 64-bit 6.3.0 or later.</p>

</dd>
<dt id="Intel-C++-Compiler"><a class="permalink" href="perlwin32.html#Intel-C++-Compiler">#</a><a id="Intel"></a><a id="Intel-C-Compiler"></a>Intel C++ Compiler</dt>
<dd>

<p>Experimental support for using Intel C++ Compiler has been added. Edit win32/Makefile and pick the correct CCTYPE for the Visual C that Intel C was installed into. Also uncomment __ICC to enable Intel C on Visual C support. To set up the build environment, from the Start Menu run IA-32 Visual Studio 20__ mode or Intel 64 Visual Studio 20__ mode as appropriate. Then run nmake as usually in that prompt box.</p>

<p>Only Intel C++ Compiler v12.1 has been tested. Other versions probably will work. Using Intel C++ Compiler instead of Visual C has the benefit of C99 compatibility which is needed by some CPAN XS modules, while maintaining compatibility with Visual C object code and Visual C debugging infrastructure unlike GCC.</p>

</dd>
</dl>

<h2 id="Building"><a class="permalink" href="perlwin32.html#Building">#</a>Building</h2>

<ul>

<li><p>Make sure you are in the &quot;win32&quot; subdirectory under the perl toplevel. This directory contains a &quot;Makefile&quot; that will work with versions of nmake that come with Visual C++ or the Windows SDK, and a GNU make &quot;GNUmakefile&quot; that will work for all supported compilers. The defaults in the gmake makefile are setup to build using MinGW/gcc.</p>

</li>
<li><p>Edit the GNUmakefile (or Makefile, if you&#39;re using nmake) and change the values of INST_DRV and INST_TOP. You can also enable various build flags. These are explained in the makefiles.</p>

<p>Note that it is generally not a good idea to try to build a perl with INST_DRV and INST_TOP set to a path that already exists from a previous build. In particular, this may cause problems with the lib/ExtUtils/t/Embed.t test, which attempts to build a test program and may end up building against the installed perl&#39;s lib/CORE directory rather than the one being tested.</p>

<p>You will have to make sure that CCTYPE is set correctly and that CCHOME points to wherever you installed your compiler. For GCC this should be the directory that contains the <i>bin</i>, <i>include</i> and <i>lib</i> directories.</p>

<p>If building with the cross-compiler provided by mingw-w64.org you&#39;ll need to uncomment the line that sets GCCCROSS in the GNUmakefile. Do this only if it&#39;s the cross-compiler - ie only if the bin folder doesn&#39;t contain a gcc.exe. (The cross-compiler does not provide a gcc.exe, g++.exe, ar.exe, etc. Instead, all of these executables are prefixed with &#39;x86_64-w64-mingw32-&#39;.)</p>

<p>The default value for CCHOME in the makefiles for Visual C++ may not be correct for some versions. Make sure the default exists and is valid.</p>

<p>If you want build some core extensions statically into perl&#39;s dll, specify them in the STATIC_EXT macro.</p>

<p>Be sure to read the instructions near the top of the makefiles carefully.</p>

</li>
<li><p>Type &quot;gmake&quot; (or &quot;nmake&quot; if you are using that make).</p>

<p>This should build everything. Specifically, it will create perl.exe, perl535.dll at the perl toplevel, and various other extension dll&#39;s under the lib\auto directory. If the build fails for any reason, make sure you have done the previous steps correctly.</p>

<p>To try gmake&#39;s parallel mode, type &quot;gmake -j2&quot;, where 2, is the maximum number of parallel jobs you want to run. A number of things in the build process will run in parallel, but there are serialization points where you will see just 1 CPU maxed out. This is normal.</p>

<p>If you are advanced enough with building C code, here is a suggestion to speed up building perl, and the later <code>make test</code>. Try to keep your PATH environmental variable with the least number of folders possible (remember to keep your C compiler&#39;s folders there). <code>C:\WINDOWS\system32</code> or <code>C:\WINNT\system32</code> depending on your OS version should be first folder in PATH, since &quot;cmd.exe&quot; is the most commonly launched program during the build and later testing.</p>

</li>
</ul>

<h2 id="Testing-Perl-on-Windows"><a class="permalink" href="perlwin32.html#Testing-Perl-on-Windows">#</a><a id="Testing"></a>Testing Perl on Windows</h2>

<p>Type &quot;gmake test&quot; (or &quot;nmake test&quot;). This will run most of the tests from the testsuite (many tests will be skipped).</p>

<p>There should be no test failures.</p>

<p>If you build with Visual C++ 2013 then three tests currently may fail with Daylight Saving Time related problems: <i>t/io/fs.t</i>, <i>cpan/HTTP-Tiny/t/110_mirror.t</i> and <i>lib/File/Copy.t</i>. The failures are caused by bugs in the CRT in VC++ 2013 which are fixed in VC++2015 and later, as explained by Microsoft here: <a href="https://connect.microsoft.com/VisualStudio/feedback/details/811534/utime-sometimes-fails-to-set-the-correct-file-times-in-visual-c-2013">https://connect.microsoft.com/VisualStudio/feedback/details/811534/utime-sometimes-fails-to-set-the-correct-file-times-in-visual-c-2013</a>. In the meantime, if you need fixed <code>stat</code> and <code>utime</code> functions then have a look at the CPAN distribution Win32::UTCFileTime.</p>

<p>If you build with Visual C++ 2015 or later then <i>ext/XS-APItest/t/locale.t</i> may crash (after all its tests have passed). This is due to a regression in the Universal CRT introduced in the Windows 10 April 2018 Update, and will be fixed in the May 2019 Update, as explained here: <a href="https://developercommunity.visualstudio.com/content/problem/519486/setlocalelc-numeric-iso-latin-16-fails-then-succee.html">https://developercommunity.visualstudio.com/content/problem/519486/setlocalelc-numeric-iso-latin-16-fails-then-succee.html</a>.</p>

<p>If you build with certain versions (e.g. 4.8.1) of gcc from www.mingw.org then <i>ext/POSIX/t/time.t</i> may fail test 17 due to a known bug in those gcc builds: see <a href="https://sourceforge.net/p/mingw/bugs/2152/">https://sourceforge.net/p/mingw/bugs/2152/</a>.</p>

<p>Some test failures may occur if you use a command shell other than the native &quot;cmd.exe&quot;, or if you are building from a path that contains spaces. So don&#39;t do that.</p>

<p>If you are running the tests from a emacs shell window, you may see failures in op/stat.t. Run &quot;gmake test-notty&quot; in that case.</p>

<p>Furthermore, you should make sure that during <code>make test</code> you do not have any GNU tool packages in your path: some toolkits like Unixutils include some tools (<code>type</code> for instance) which override the Windows ones and makes tests fail. Remove them from your path while testing to avoid these errors.</p>

<p>To see the output of specific failing tests run the harness from the t directory:</p>

<pre><code class="plaintext"># assuming you&#39;re starting from the win32 directory
cd ..\win32
.\perl harness &lt;list of tests&gt;</code></pre>

<p>Please report any other failures as described under <a href="perlwin32.html#BUGS-AND-CAVEATS">&quot;BUGS AND CAVEATS&quot;</a>.</p>

<h2 id="Installation-of-Perl-on-Windows"><a class="permalink" href="perlwin32.html#Installation-of-Perl-on-Windows">#</a><a id="Installation"></a>Installation of Perl on Windows</h2>

<p>Type &quot;gmake install&quot; (&quot;nmake install&quot;). This will put the newly built perl and the libraries under whatever <code>INST_TOP</code> points to in the Makefile. It will also install the pod documentation under <code>$INST_TOP\$INST_VER\lib\pod</code> and HTML versions of the same under <code>$INST_TOP\$INST_VER\lib\pod\html</code>.</p>

<p>To use the Perl you just installed you will need to add a new entry to your PATH environment variable: <code>$INST_TOP\bin</code>, e.g.</p>

<pre><code>set PATH=c:\perl\bin;%PATH%</code></pre>

<p>If you opted to uncomment <code>INST_VER</code> and <code>INST_ARCH</code> in the makefile then the installation structure is a little more complicated and you will need to add two new PATH components instead: <code>$INST_TOP\$INST_VER\bin</code> and <code>$INST_TOP\$INST_VER\bin\$ARCHNAME</code>, e.g.</p>

<pre><code>set PATH=c:\perl\5.6.0\bin;c:\perl\5.6.0\bin\MSWin32-x86;%PATH%</code></pre>

<h2 id="Usage-Hints-for-Perl-on-Windows"><a class="permalink" href="perlwin32.html#Usage-Hints-for-Perl-on-Windows">#</a><a id="Usage"></a>Usage Hints for Perl on Windows</h2>

<dl>

<dt id="Environment-Variables"><a class="permalink" href="perlwin32.html#Environment-Variables">#</a><a id="Environment"></a>Environment Variables</dt>
<dd>

<p>The installation paths that you set during the build get compiled into perl, so you don&#39;t have to do anything additional to start using that perl (except add its location to your PATH variable).</p>

<p>If you put extensions in unusual places, you can set PERL5LIB to a list of paths separated by semicolons where you want perl to look for libraries. Look for descriptions of other environment variables you can set in <a href="perlrun.html">perlrun</a>.</p>

<p>You can also control the shell that perl uses to run system() and backtick commands via PERL5SHELL. See <a href="perlrun.html">perlrun</a>.</p>

<p>Perl does not depend on the registry, but it can look up certain default values if you choose to put them there unless disabled at build time with USE_NO_REGISTRY. On Perl process start Perl checks if <code>HKEY_CURRENT_USER\Software\Perl</code> and <code>HKEY_LOCAL_MACHINE\Software\Perl</code> exist. If the keys exists, they will be checked for remainder of the Perl process&#39;s run life for certain entries. Entries in <code>HKEY_CURRENT_USER\Software\Perl</code> override entries in <code>HKEY_LOCAL_MACHINE\Software\Perl</code>. One or more of the following entries (of type REG_SZ or REG_EXPAND_SZ) may be set in the keys:</p>

<pre><code>lib-$]        version-specific standard library path to add to @INC
lib           standard library path to add to @INC
sitelib-$]    version-specific site library path to add to @INC
sitelib       site library path to add to @INC
vendorlib-$]  version-specific vendor library path to add to @INC
vendorlib     vendor library path to add to @INC
PERL*         fallback for all %ENV lookups that begin with &quot;PERL&quot;</code></pre>

<p>Note the <code>$]</code> in the above is not literal. Substitute whatever version of perl you want to honor that entry, e.g. <code>5.6.0</code>. Paths must be separated with semicolons, as usual on Windows.</p>

</dd>
<dt id="File-Globbing"><a class="permalink" href="perlwin32.html#File-Globbing">#</a><a id="File"></a>File Globbing</dt>
<dd>

<p>By default, perl handles file globbing using the File::Glob extension, which provides portable globbing.</p>

<p>If you want perl to use globbing that emulates the quirks of DOS filename conventions, you might want to consider using File::DosGlob to override the internal glob() implementation. See <a href="./File::DosGlob.html">File::DosGlob</a> for details.</p>

</dd>
<dt id="Using-perl-from-the-command-line"><a class="permalink" href="perlwin32.html#Using-perl-from-the-command-line">#</a><a id="Using"></a>Using perl from the command line</dt>
<dd>

<p>If you are accustomed to using perl from various command-line shells found in UNIX environments, you will be less than pleased with what Windows offers by way of a command shell.</p>

<p>The crucial thing to understand about the Windows environment is that the command line you type in is processed twice before Perl sees it. First, your command shell (usually CMD.EXE) preprocesses the command line, to handle redirection, environment variable expansion, and location of the executable to run. Then, the perl executable splits the remaining command line into individual arguments, using the C runtime library upon which Perl was built.</p>

<p>It is particularly important to note that neither the shell nor the C runtime do any wildcard expansions of command-line arguments (so wildcards need not be quoted). Also, the quoting behaviours of the shell and the C runtime are rudimentary at best (and may, if you are using a non-standard shell, be inconsistent). The only (useful) quote character is the double quote (&quot;). It can be used to protect spaces and other special characters in arguments.</p>

<p>The Windows documentation describes the shell parsing rules here: <a href="https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cmd">https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cmd</a> and the C runtime parsing rules here: <a href="https://msdn.microsoft.com/en-us/library/17w5ykft%28v=VS.100%29.aspx">https://msdn.microsoft.com/en-us/library/17w5ykft%28v=VS.100%29.aspx</a>.</p>

<p>Here are some further observations based on experiments: The C runtime breaks arguments at spaces and passes them to programs in argc/argv. Double quotes can be used to prevent arguments with spaces in them from being split up. You can put a double quote in an argument by escaping it with a backslash and enclosing the whole argument within double quotes. The backslash and the pair of double quotes surrounding the argument will be stripped by the C runtime.</p>

<p>The file redirection characters &quot;&lt;&quot;, &quot;&gt;&quot;, and &quot;|&quot; can be quoted by double quotes (although there are suggestions that this may not always be true). Single quotes are not treated as quotes by the shell or the C runtime, they don&#39;t get stripped by the shell (just to make this type of quoting completely useless). The caret &quot;^&quot; has also been observed to behave as a quoting character, but this appears to be a shell feature, and the caret is not stripped from the command line, so Perl still sees it (and the C runtime phase does not treat the caret as a quote character).</p>

<p>Here are some examples of usage of the &quot;cmd&quot; shell:</p>

<p>This prints two doublequotes:</p>

<pre><code class="plaintext">perl -e &quot;print &#39;\&quot;\&quot;&#39; &quot;</code></pre>

<p>This does the same:</p>

<pre><code class="plaintext">perl -e &quot;print \&quot;\\\&quot;\\\&quot;\&quot; &quot;</code></pre>

<p>This prints &quot;bar&quot; and writes &quot;foo&quot; to the file &quot;blurch&quot;:</p>

<pre><code class="plaintext">perl -e &quot;print &#39;foo&#39;; print STDERR &#39;bar&#39;&quot; &gt; blurch</code></pre>

<p>This prints &quot;foo&quot; (&quot;bar&quot; disappears into nowhereland):</p>

<pre><code class="plaintext">perl -e &quot;print &#39;foo&#39;; print STDERR &#39;bar&#39;&quot; 2&gt; nul</code></pre>

<p>This prints &quot;bar&quot; and writes &quot;foo&quot; into the file &quot;blurch&quot;:</p>

<pre><code class="plaintext">perl -e &quot;print &#39;foo&#39;; print STDERR &#39;bar&#39;&quot; 1&gt; blurch</code></pre>

<p>This pipes &quot;foo&quot; to the &quot;less&quot; pager and prints &quot;bar&quot; on the console:</p>

<pre><code class="plaintext">perl -e &quot;print &#39;foo&#39;; print STDERR &#39;bar&#39;&quot; | less</code></pre>

<p>This pipes &quot;foo\nbar\n&quot; to the less pager:</p>

<pre><code class="plaintext">perl -le &quot;print &#39;foo&#39;; print STDERR &#39;bar&#39;&quot; 2&gt;&amp;1 | less</code></pre>

<p>This pipes &quot;foo&quot; to the pager and writes &quot;bar&quot; in the file &quot;blurch&quot;:</p>

<pre><code class="plaintext">perl -e &quot;print &#39;foo&#39;; print STDERR &#39;bar&#39;&quot; 2&gt; blurch | less</code></pre>

<p>Discovering the usefulness of the &quot;command.com&quot; shell on Windows 9x is left as an exercise to the reader :)</p>

<p>One particularly pernicious problem with the 4NT command shell for Windows is that it (nearly) always treats a % character as indicating that environment variable expansion is needed. Under this shell, it is therefore important to always double any % characters which you want Perl to see (for example, for hash variables), even when they are quoted.</p>

</dd>
<dt id="Building-Extensions"><a class="permalink" href="perlwin32.html#Building-Extensions">#</a><a id="Building1"></a>Building Extensions</dt>
<dd>

<p>The Comprehensive Perl Archive Network (CPAN) offers a wealth of extensions, some of which require a C compiler to build. Look in <a href="https://www.cpan.org/">https://www.cpan.org/</a> for more information on CPAN.</p>

<p>Note that not all of the extensions available from CPAN may work in the Windows environment; you should check the information at <a href="https://www.cpantesters.org/">https://www.cpantesters.org/</a> before investing too much effort into porting modules that don&#39;t readily build.</p>

<p>Most extensions (whether they require a C compiler or not) can be built, tested and installed with the standard mantra:</p>

<pre><code>perl Makefile.PL
$MAKE
$MAKE test
$MAKE install</code></pre>

<p>where $MAKE is whatever &#39;make&#39; program you have configured perl to use. Use &quot;perl -V:make&quot; to find out what this is. Some extensions may not provide a testsuite (so &quot;$MAKE test&quot; may not do anything or fail), but most serious ones do.</p>

<p>It is important that you use a supported &#39;make&#39; program, and ensure Config.pm knows about it.</p>

<p>Note that MakeMaker actually emits makefiles with different syntax depending on what &#39;make&#39; it thinks you are using. Therefore, it is important that one of the following values appears in Config.pm:</p>

<pre><code class="plaintext">make=&#39;nmake&#39;	# MakeMaker emits nmake syntax
any other value	# MakeMaker emits generic make syntax
			    (e.g GNU make, or Perl make)</code></pre>

<p>If the value doesn&#39;t match the &#39;make&#39; program you want to use, edit Config.pm to fix it.</p>

<p>If a module implements XSUBs, you will need one of the supported C compilers. You must make sure you have set up the environment for the compiler for command-line compilation before running <code>perl Makefile.PL</code> or any invocation of make.</p>

<p>If a module does not build for some reason, look carefully for why it failed, and report problems to the module author. If it looks like the extension building support is at fault, report that with full details of how the build failed using the GitHub issue tracker at <a href="https://github.com/Perl/perl5/issues">https://github.com/Perl/perl5/issues</a>.</p>

</dd>
<dt id="Command-line-Wildcard-Expansion"><a class="permalink" href="perlwin32.html#Command-line-Wildcard-Expansion">#</a><a id="Command1"></a>Command-line Wildcard Expansion</dt>
<dd>

<p>The default command shells on DOS descendant operating systems (such as they are) usually do not expand wildcard arguments supplied to programs. They consider it the application&#39;s job to handle that. This is commonly achieved by linking the application (in our case, perl) with startup code that the C runtime libraries usually provide. However, doing that results in incompatible perl versions (since the behavior of the argv expansion code differs depending on the compiler, and it is even buggy on some compilers). Besides, it may be a source of frustration if you use such a perl binary with an alternate shell that *does* expand wildcards.</p>

<p>Instead, the following solution works rather well. The nice things about it are 1) you can start using it right away; 2) it is more powerful, because it will do the right thing with a pattern like */*/*.c; 3) you can decide whether you do/don&#39;t want to use it; and 4) you can extend the method to add any customizations (or even entirely different kinds of wildcard expansion).</p>

<pre><code> C:\&gt; copy con c:\perl\lib\Wild.pm
 # Wild.pm - emulate shell @ARGV expansion on shells that don&#39;t
 use File::DosGlob;
 @ARGV = map {
	      my @g = File::DosGlob::glob($_) if /[*?]/;
	      @g ? @g : $_;
	    } @ARGV;
 1;
 ^Z
 C:\&gt; set PERL5OPT=-MWild
 C:\&gt; perl -le &quot;for (@ARGV) { print }&quot; */*/perl*.c
 p4view/perl/perl.c
 p4view/perl/perlio.c
 p4view/perl/perly.c
 perl5.005/win32/perlglob.c
 perl5.005/win32/perllib.c
 perl5.005/win32/perlglob.c
 perl5.005/win32/perllib.c
 perl5.005/win32/perlglob.c
 perl5.005/win32/perllib.c</code></pre>

<p>Note there are two distinct steps there: 1) You&#39;ll have to create Wild.pm and put it in your perl lib directory. 2) You&#39;ll need to set the PERL5OPT environment variable. If you want argv expansion to be the default, just set PERL5OPT in your default startup environment.</p>

<p>If you are using the Visual C compiler, you can get the C runtime&#39;s command line wildcard expansion built into perl binary. The resulting binary will always expand unquoted command lines, which may not be what you want if you use a shell that does that for you. The expansion done is also somewhat less powerful than the approach suggested above.</p>

</dd>
<dt id="Notes-on-64-bit-Windows"><a class="permalink" href="perlwin32.html#Notes-on-64-bit-Windows">#</a><a id="Notes"></a>Notes on 64-bit Windows</dt>
<dd>

<p>Windows .NET Server supports the LLP64 data model on the Intel Itanium architecture.</p>

<p>The LLP64 data model is different from the LP64 data model that is the norm on 64-bit Unix platforms. In the former, <code>int</code> and <code>long</code> are both 32-bit data types, while pointers are 64 bits wide. In addition, there is a separate 64-bit wide integral type, <code>__int64</code>. In contrast, the LP64 data model that is pervasive on Unix platforms provides <code>int</code> as the 32-bit type, while both the <code>long</code> type and pointers are of 64-bit precision. Note that both models provide for 64-bits of addressability.</p>

<p>64-bit Windows running on Itanium is capable of running 32-bit x86 binaries transparently. This means that you could use a 32-bit build of Perl on a 64-bit system. Given this, why would one want to build a 64-bit build of Perl? Here are some reasons why you would bother:</p>

<ul>

<li><p>A 64-bit native application will run much more efficiently on Itanium hardware.</p>

</li>
<li><p>There is no 2GB limit on process size.</p>

</li>
<li><p>Perl automatically provides large file support when built under 64-bit Windows.</p>

</li>
<li><p>Embedding Perl inside a 64-bit application.</p>

</li>
</ul>

</dd>
</dl>

<h2 id="Running-Perl-Scripts"><a class="permalink" href="perlwin32.html#Running-Perl-Scripts">#</a><a id="Running"></a>Running Perl Scripts</h2>

<p>Perl scripts on UNIX use the &quot;#!&quot; (a.k.a &quot;shebang&quot;) line to indicate to the OS that it should execute the file using perl. Windows has no comparable means to indicate arbitrary files are executables.</p>

<p>Instead, all available methods to execute plain text files on Windows rely on the file &quot;extension&quot;. There are three methods to use this to execute perl scripts:</p>

<ol>

<li><p>There is a facility called &quot;file extension associations&quot;. This can be manipulated via the two commands &quot;assoc&quot; and &quot;ftype&quot; that come standard with Windows. Type &quot;ftype /?&quot; for a complete example of how to set this up for perl scripts (Say what? You thought Windows wasn&#39;t perl-ready? :).</p>

</li>
<li><p>Since file associations don&#39;t work everywhere, and there are reportedly bugs with file associations where it does work, the old method of wrapping the perl script to make it look like a regular batch file to the OS, may be used. The install process makes available the &quot;pl2bat.bat&quot; script which can be used to wrap perl scripts into batch files. For example:</p>

<pre><code class="plaintext">pl2bat foo.pl</code></pre>

<p>will create the file &quot;FOO.BAT&quot;. Note &quot;pl2bat&quot; strips any .pl suffix and adds a .bat suffix to the generated file.</p>

<p>If you use the 4DOS/NT or similar command shell, note that &quot;pl2bat&quot; uses the &quot;%*&quot; variable in the generated batch file to refer to all the command line arguments, so you may need to make sure that construct works in batch files. As of this writing, 4DOS/NT users will need a &quot;ParameterChar = *&quot; statement in their 4NT.INI file or will need to execute &quot;setdos /p*&quot; in the 4DOS/NT startup file to enable this to work.</p>

</li>
<li><p>Using &quot;pl2bat&quot; has a few problems: the file name gets changed, so scripts that rely on <code>$0</code> to find what they must do may not run properly; running &quot;pl2bat&quot; replicates the contents of the original script, and so this process can be maintenance intensive if the originals get updated often. A different approach that avoids both problems is possible.</p>

<p>A script called &quot;runperl.bat&quot; is available that can be copied to any filename (along with the .bat suffix). For example, if you call it &quot;foo.bat&quot;, it will run the file &quot;foo&quot; when it is executed. Since you can run batch files on Windows platforms simply by typing the name (without the extension), this effectively runs the file &quot;foo&quot;, when you type either &quot;foo&quot; or &quot;foo.bat&quot;. With this method, &quot;foo.bat&quot; can even be in a different location than the file &quot;foo&quot;, as long as &quot;foo&quot; is available somewhere on the PATH. If your scripts are on a filesystem that allows symbolic links, you can even avoid copying &quot;runperl.bat&quot;.</p>

<p>Here&#39;s a diversion: copy &quot;runperl.bat&quot; to &quot;runperl&quot;, and type &quot;runperl&quot;. Explain the observed behavior, or lack thereof. :) Hint: .gnidnats llits er&#39;uoy fi ,&quot;lrepnur&quot; eteled :tniH</p>

</li>
</ol>

<h2 id="Miscellaneous-Things"><a class="permalink" href="perlwin32.html#Miscellaneous-Things">#</a><a id="Miscellaneous"></a>Miscellaneous Things</h2>

<p>A full set of HTML documentation is installed, so you should be able to use it if you have a web browser installed on your system.</p>

<p><code>perldoc</code> is also a useful tool for browsing information contained in the documentation, especially in conjunction with a pager like <code>less</code> (recent versions of which have Windows support). You may have to set the PAGER environment variable to use a specific pager. &quot;perldoc -f foo&quot; will print information about the perl operator &quot;foo&quot;.</p>

<p>One common mistake when using this port with a GUI library like <code>Tk</code> is assuming that Perl&#39;s normal behavior of opening a command-line window will go away. This isn&#39;t the case. If you want to start a copy of <code>perl</code> without opening a command-line window, use the <code>wperl</code> executable built during the installation process. Usage is exactly the same as normal <code>perl</code> on Windows, except that options like <code>-h</code> don&#39;t work (since they need a command-line window to print to).</p>

<p>If you find bugs in perl, you can report them to <a href="https://github.com/Perl/perl5/issues">https://github.com/Perl/perl5/issues</a>.</p>

<h1 id="BUGS-AND-CAVEATS"><a class="permalink" href="perlwin32.html#BUGS-AND-CAVEATS">#</a><a id="BUGS"></a>BUGS AND CAVEATS</h1>

<p>Norton AntiVirus interferes with the build process, particularly if set to &quot;AutoProtect, All Files, when Opened&quot;. Unlike large applications the perl build process opens and modifies a lot of files. Having the AntiVirus scan each and every one slows build the process significantly. Worse, with PERLIO=stdio the build process fails with peculiar messages as the virus checker interacts badly with miniperl.exe writing configure files (it seems to either catch file part written and treat it as suspicious, or virus checker may have it &quot;locked&quot; in a way which inhibits miniperl updating it). The build does complete with</p>

<pre><code class="plaintext">set PERLIO=perlio</code></pre>

<p>but that may be just luck. Other AntiVirus software may have similar issues.</p>

<p>A git GUI shell extension for Windows such as TortoiseGit will cause the build and later <code>make test</code> to run much slower since every file is checked for its git status as soon as it is created and/or modified. TortoiseGit doesn&#39;t cause any test failures or build problems unlike the antivirus software described above, but it does cause similar slowness. It is suggested to use Task Manager to look for background processes which use high CPU amounts during the building process.</p>

<p>Some of the built-in functions do not act exactly as documented in <a href="perlfunc.html">perlfunc</a>, and a few are not implemented at all. To avoid surprises, particularly if you have had prior exposure to Perl in other operating environments or if you intend to write code that will be portable to other environments, see <a href="perlport.html">perlport</a> for a reasonably definitive list of these differences.</p>

<p>Not all extensions available from CPAN may build or work properly in the Windows environment. See <a href="perlwin32.html#Building-Extensions">&quot;Building Extensions&quot;</a>.</p>

<p>Most <code>socket()</code> related calls are supported, but they may not behave as on Unix platforms. See <a href="perlport.html">perlport</a> for the full list.</p>

<p>Signal handling may not behave as on Unix platforms (where it doesn&#39;t exactly &quot;behave&quot;, either :). For instance, calling <code>die()</code> or <code>exit()</code> from signal handlers will cause an exception, since most implementations of <code>signal()</code> on Windows are severely crippled. Thus, signals may work only for simple things like setting a flag variable in the handler. Using signals under this port should currently be considered unsupported.</p>

<p>Please report detailed descriptions of any problems and solutions that you may find at &lt;<a href="https://github.com/Perl/perl5/issues">https://github.com/Perl/perl5/issues</a>&gt;, along with the output produced by <code>perl -V</code>.</p>

<h1 id="ACKNOWLEDGEMENTS"><a class="permalink" href="perlwin32.html#ACKNOWLEDGEMENTS">#</a>ACKNOWLEDGEMENTS</h1>

<p>The use of a camel with the topic of Perl is a trademark of O&#39;Reilly and Associates, Inc. Used with permission.</p>

<h1 id="AUTHORS"><a class="permalink" href="perlwin32.html#AUTHORS">#</a>AUTHORS</h1>

<dl>

<dt id="Gary-Ng"><a class="permalink" href="perlwin32.html#Gary-Ng">#</a><a id="Gary-Ng-&lt;71564.1743@CompuServe.COM&gt;"></a><a id="Gary"></a><a id="Gary-Ng-71564.1743-CompuServe.COM"></a>Gary Ng &lt;71564.1743@CompuServe.COM&gt;</dt>
<dd>

</dd>
<dt id="Gurusamy-Sarathy"><a class="permalink" href="perlwin32.html#Gurusamy-Sarathy">#</a><a id="Gurusamy-Sarathy-&lt;gsar@activestate.com&gt;"></a><a id="Gurusamy"></a><a id="Gurusamy-Sarathy-gsar-activestate.com"></a>Gurusamy Sarathy &lt;gsar@activestate.com&gt;</dt>
<dd>

</dd>
<dt id="Nick-Ing-Simmons"><a class="permalink" href="perlwin32.html#Nick-Ing-Simmons">#</a><a id="Nick-Ing-Simmons-&lt;nick@ing-simmons.net&gt;"></a><a id="Nick"></a><a id="Nick-Ing-Simmons-nick-ing-simmons.net"></a>Nick Ing-Simmons &lt;nick@ing-simmons.net&gt;</dt>
<dd>

</dd>
<dt id="Jan-Dubois"><a class="permalink" href="perlwin32.html#Jan-Dubois">#</a><a id="Jan-Dubois-&lt;jand@activestate.com&gt;"></a><a id="Jan"></a><a id="Jan-Dubois-jand-activestate.com"></a>Jan Dubois &lt;jand@activestate.com&gt;</dt>
<dd>

</dd>
<dt id="Steve-Hay"><a class="permalink" href="perlwin32.html#Steve-Hay">#</a><a id="Steve-Hay-&lt;steve.m.hay@googlemail.com&gt;"></a><a id="Steve"></a><a id="Steve-Hay-steve.m.hay-googlemail.com"></a>Steve Hay &lt;steve.m.hay@googlemail.com&gt;</dt>
<dd>

</dd>
</dl>

<p>This document is maintained by Jan Dubois.</p>

<h1 id="SEE-ALSO"><a class="permalink" href="perlwin32.html#SEE-ALSO">#</a><a id="SEE"></a>SEE ALSO</h1>

<p><a href="perl.html">perl</a></p>

<h1 id="HISTORY"><a class="permalink" href="perlwin32.html#HISTORY">#</a>HISTORY</h1>

<p>This port was originally contributed by Gary Ng around 5.003_24, and borrowed from the Hip Communications port that was available at the time. Various people have made numerous and sundry hacks since then.</p>

<p>GCC/mingw32 support was added in 5.005 (Nick Ing-Simmons).</p>

<p>Support for PERL_OBJECT was added in 5.005 (ActiveState Tool Corp).</p>

<p>Support for fork() emulation was added in 5.6 (ActiveState Tool Corp).</p>

<p>Win9x support was added in 5.6 (Benjamin Stuhl).</p>

<p>Support for 64-bit Windows added in 5.8 (ActiveState Corp).</p>

<p>Last updated: 26 January 2020</p>


      </div>
      <div id="footer">
        <p>Perldoc Browser is maintained by Dan Book (<a href="https://metacpan.org/author/DBOOK">DBOOK</a>). Please contact him via the <a href="https://github.com/Grinnz/perldoc-browser/issues">GitHub issue tracker</a> or <a href="mailto:dbook@cpan.org">email</a> regarding any issues with the site itself, search, or rendering of documentation.</p>

<p>The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via the <a href="https://github.com/Perl/perl5/issues">Perl issue tracker</a>, the <a href="https://lists.perl.org/list/perl5-porters.html">mailing list</a>, or <a href="https://kiwiirc.com/client/irc.perl.org/p5p">IRC</a> to report any issues with the contents or format of the documentation.</p>


      </div>
    </div>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js" integrity="sha512-/DXTXr6nQodMUiq+IUJYCt2PPOUjrHJ9wFrqpJ3XkgPNOZVfMok7cRw6CSxyCQxXn6ozlESsSh1/sMCTF1rL/g==" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js" integrity="sha512-ubuT8Z88WxezgSqf3RLuNi5lmjstiJcyezx34yIU2gAHonIi27Na7atqzUZCOoY4CExaoFumzOsFQ2Ch+I/HCw==" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
    <script src="../highlight.pack.js"></script>
    <script>hljs.highlightAll();</script>
  </body>
</html>
